<template>
  <div style="padding:20px">
    <btn-area />
    <tab-area />
    <pagination :total="total" @pagination="pagination" />
  </div>
</template>

<script>
import btnArea from '../../components/agentTree/btn-area.vue'
import tabArea from '../../components/agentTree/tab-area.vue'
import pagination from '@/components/Pagination'

export default {
  components: {
    btnArea,
    tabArea,
    pagination
  },
  data() {
    return {
      total: 50,
      p: 1,
      num: 10
    }
  },
  methods: {
    pagination(val) {
      console.log(val)
    }
  }
}
</script>

<style lang="sass" scoped>

</style>
